package ysgrpc

import "github.com/gogf/gf/v2/text/gstr"

const CONFIG_NODE_NAME = "ys.grpc"

// GenSubCfgNodeName 生成字子配置节点名
func GenSubCfgNodeName(sub ...string) string {
	arr := []string{CONFIG_NODE_NAME}
	arr = append(arr, sub...)
	return gstr.Join(arr, ".")
}
